import Vue from 'vue'
import App from './App.vue'
import router from './router'

import axios from 'axios'
import ElementUI from 'element-ui'
// base css样式
import 'element-ui/lib/theme-chalk/index.css'
import '@/styles/base.css'
import '@/styles/tail.css'

import 'vue-draggable-resizable-gorkys/dist/VueDraggableResizable.css'
import '@/styles/resize.less'
// echarts
import echarts from 'echarts'
import vdr from 'vue-draggable-resizable-gorkys'
// import { echarts } from '@/assets/js/echarts-all'
Vue.prototype.$echarts = echarts

Vue.component('vdr', vdr)
// import BaiduMap from 'vue-baidu-map'
// Vue.use(BaiduMap, {
//   ak: '4HzsadCh4FDh1Eukq2shC3WT'
// })

Vue.config.productionTip = false

Vue.prototype.$axios = axios
Vue.use(ElementUI)

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
